package com.xjrsoft.common.enums;

/**
 * @Author: tzx
 * @Date: 2024/4/10 14:47
 */
public enum IotProtocolEnum {
    /**
     * MQTT
     */
    MQTT(0, "MQTT"),
    /*
     *  OPC_UA
     */
    OPC_UA(1, "OPC_UA");

    final int code;
    final String value;

    public int getCode() {
        return this.code;
    }

    public String getValue() {
        return this.value;
    }

    IotProtocolEnum(final int code, final String message) {
        this.code = code;
        this.value = message;
    }
}
